# -*- coding:utf-8 -*-

import re;

# str="我是李钰河";
# print re.match("m", str)
print re.search("m", str)


phone = "40023-123-88  # 这是一个国外电话号码";
num1=re.sub(r'#.*$', "",phone)
print num1

num1=re.sub(r"\D", "", phone)
print num1

